#ifndef __BUTTON_DRIVER_H_
#define __BUTTON_DRIVER_H_

#include "freertos/FreeRTOS.h"
#include "freertos/queue.h"
#include "freertos/timers.h"

typedef struct
{
    uint32_t num;
    uint32_t level;
}button_msg_t;

extern QueueHandle_t button_event_quene_handle;

esp_err_t ESP_button_GPIO_init(void);
void button_softTimer_callback(void* xTimer);

#endif

